Imports System.ComponentModel

Namespace Controls.TabControl

    Public Class ExtendedTabPage
        Inherits TabPage

        Private components As System.ComponentModel.Container = Nothing

        Public Sub New()

            InitializeComponent()

        End Sub

        Public Sub New(ByVal container As IContainer)

            container.Add(Me)
            InitializeComponent()

        End Sub

        Protected Overrides Sub Dispose(ByVal disposing As Boolean)

            If disposing Then
                If components IsNot Nothing Then
                    components.Dispose()
                End If
            End If

            MyBase.Dispose(disposing)
        End Sub


#Region "Component Designer Generated Code"

        Private Sub InitializeComponent()

            components = New Container()

        End Sub

#End Region

    End Class

End Namespace


